package com.maiji.cloud.response.community;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.maiji.cloud.entities.login.UserInfo;
import com.maiji.cloud.response.login.UserInfoResData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)

@ApiModel("ComUserMessageOutputDto")
public class ComUserMessageOutputDto {

    @ApiModelProperty("messageId")
    private String messageId;

    @ApiModelProperty(value = "来源的用户ID")
    private String sourceUserId;

    @ApiModelProperty(value = "目标的用户ID")
    private String targetUserId;

    @ApiModelProperty(value = "动态ID")
    private String msgId; //动态ID

    @ApiModelProperty(value = "当前评论ID")
    private String curCommentId; //当前评论ID

    @ApiModelProperty(value = "上一条评论ID")
    private String lastCommentId; //上一条评论ID

    @ApiModelProperty("来源用户")
    private UserInfoResData sourceUser;

    @ApiModelProperty("目标用户")
    private UserInfoResData targetUser;

    @ApiModelProperty("动态信息")
    private ComRecsOutputDto msg;

    @ApiModelProperty("当前评论")
    private ComCommentOutputDto curComment;

    @ApiModelProperty("上一条评论")
    private ComCommentOutputDto lastComment;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("是否是未读状态")
    private Integer isRead;//1:新的 0:不是新的

    @ApiModelProperty("类型 ： 0:评论 1:收到的赞 2:新粉丝（关注） 3:回复记录 4:@ 5：评论的评论")
    private Integer type; //

    @ApiModelProperty("创建时间戳")
    private Long createTime;//创建时间戳

}
